package com.juyu.miliao.api.domain.dto;

import com.alibaba.fastjson.JSON;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.*;

/**
 * 水果机DTO
 *
 * @author xuanqicheng
 * @create 2019-15-13:41
 */
@Data
public class FruitMachineDTO {

    /**
     * 礼物id
     */
    @NotNull(message = "礼物id不能为空")
    @Min(value=1, message="礼物id要大于0")
    private Integer giftId;

    /**
     * 礼物倍数
     */
    @NotNull(message = "礼物倍数不能为空")
    @Min(value=1, message="礼物倍数最小值为1")
    private Integer multiple;

}
